package com.zzyl.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zzyl.base.BaseVo;
import com.zzyl.dto.NursingProjectDto;
import com.zzyl.dto.ProjectPlanDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 *  护理计划Vo
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "NursingPlanVo", description = "计划信息")
public class NursingPlanVo implements Serializable {
    /**
     * 主键
     */
    @ApiModelProperty(value = "主键")
    private Long id;

    /**
     * 护理计划名称
     */
    @ApiModelProperty(value = "护理计划名称")
    private String planName;
    /**
     * 护理计划状态:启用 1，禁用0
     */
    @ApiModelProperty(value = "护理计划状态:启用 1，禁用0")
    private Integer status;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    protected LocalDateTime createTime;

    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    protected LocalDateTime updateTime;

    /**
     * 创建者:username
     */
    @ApiModelProperty(value = "创建者:username")
    private Long createBy;

    /**
     * 更新者:username
     */
    @ApiModelProperty(value = "更新者:username")
    private Long updateBy;

    /**
     * 更新者:username
     */
    @ApiModelProperty(value = "更新者:username")
    private String creator;

    @ApiModelProperty(value = "护理项目集合")
    private List<ProjectPlanDto> projectPlans;
}
